package io.renren.modules.base.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.base.dao.BaseTaskWorkitemDao;
import io.renren.modules.base.entity.BaseTaskWorkitemEntity;
import io.renren.modules.base.service.BaseTaskWorkitemService;



@Service("baseTaskWorkitemService")
public class BaseTaskWorkitemServiceImpl implements BaseTaskWorkitemService {
	@Autowired
	private BaseTaskWorkitemDao baseTaskWorkitemDao;
	
	@Override
	public BaseTaskWorkitemEntity queryObject(String id){
		return baseTaskWorkitemDao.queryObject(id);
	}
	
	@Override
	public List<BaseTaskWorkitemEntity> queryList(Map<String, Object> map){
		return baseTaskWorkitemDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return baseTaskWorkitemDao.queryTotal(map);
	}
	
	@Override
	public void save(BaseTaskWorkitemEntity baseTaskWorkitem){
		baseTaskWorkitemDao.save(baseTaskWorkitem);
	}
	
	@Override
	public void update(BaseTaskWorkitemEntity baseTaskWorkitem){
		baseTaskWorkitemDao.update(baseTaskWorkitem);
	}
	
	@Override
	public void delete(String id){
		baseTaskWorkitemDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		baseTaskWorkitemDao.deleteBatch(ids);
	}
	
}
